<template>
	<div id="app">
		<ul>
			<li>
				<router-link to="/">HOME</router-link>
			</li>
			<li>
				<router-link to="/about">ABOUT</router-link>
			</li>
            <li>
				<router-link to="/posts">POSTS</router-link>
			</li>
		</ul>

		<!-- 路由出口 -->
		<router-view />
	</div>
</template>
<script>
export default {
    metaInfo: {
        title: '创建自己的ssr'
    },
	data() {
		return {
			message: "wlz",
		};
	},
	methods: {
		onClick() {
			console.log(123);
		},
	},
};
</script>
<style lang="scss" scoped>
</style>